<?php

namespace App\Http\Requests;

use App\Http\Requests\ApiRequest;

class PaginateRequest extends ApiRequest
{
    public function authorize()
    {
        return true;
    }

    public function rules()
    {
        return [
            'perPage' => 'nullable|integer',
            'page' => 'nullable|integer',
        ];
    }
}
